<?php

Yii::import('zii.widgets.CPortlet');

class UserSearch extends CPortlet {
    
    public $title = 'Suche';

    protected function renderContent() {
        echo CHtml::beginForm(array('userSearch/userSearch'), 'get', array('style'=>'inline')) . 
             CHtml::textField('u', '', array('placeholder'=>'Kunden ...', 'style'=>'width:140px;')) . 
//             '<p>'.CHtml::checkBoxList('status', false, array('1'=>'T', '2'=>'T-I')) . '</p>' .
            CHtml::ajaxButton('OK', array('userSearch/userSearch'), array(
                'type'=>'POST',
                'update'=>'#mydiv',
            )) . 
             CHtml::endForm('');
    }
}
